﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Chapter_7
{
    public class MathOperations
    {
        public static void MultiplyByTwo(double value)
        {
            double result = value * 2;
            Console.WriteLine("Multiplying by 2:{0} gives {1}", value, result);
        }

        public static void Square(double value)
        {
            double result = value * value;
            Console.WriteLine("Squaring:{0} gives {1}", value, result);
        }
    }
}
